package com.deep.transaction.demo7.dao;

import com.deep.transaction.demo7.model.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface UserDao {
    public User selectByPrimaryKey(String id);

    public List<User> selectByPrimaryKeys(List<String> ids);

    public int countByExample(User user);

    public List<User> selectByPage(User user);

    public List<User> selectByExample(User user);

    public void deleteByPrimaryKey(String id);

    public void deleteByPrimaryKeys(List<String> id);

    public void deleteByExample(User user);

    public void updateByPrimaryKeySelective(User user);

    public void insert(User user);

}
